<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>'userrcdadd.jsp'</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	 <script language="javascript" type="text/javascript" src="/OA/My97DatePicker/WdatePicker.js"></script>
  </head>
  
  <body>
   	<form  name="f1" method="post" action="userrcdadd" onsubmit="return ck()">
						<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#BBD3EB">
							<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">员工</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input type="text" id="username" name="username" size="80"/></td>
    						</tr>
							<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">项目</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input type="text" id="xiangmu" name="xiangmu" size="80"/></td>
    						</tr>
                          	<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">开始时间</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input id="begindate" name="begindate" class="Wdate" onFocus="WdatePicker({lang:'zh-cn'})" /><br></td>
    						</tr>
                         	<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">结束时间</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input id="enddate" name="enddate" class="Wdate" onFocus="WdatePicker({lang:'zh-cn'})" /><br></td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">负责模块</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<textarea rows="" cols="" name="details" id="details"></textarea>
									<script  language=javascript src="/OA/fckeditor/fckeditor.js"></script>
								</td>
    						</tr>
    						<tr>
    							<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF"></td>
    							<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input type="submit" value="提交"/><input type="reset" value="重置"/></td>
    						</tr>
                            <script language="javascript">
                              function ck(){
                            	if(f1.xiangmu.value==""){
                            		alert("标题不能为空");
                            		return false;
                            	}
                            	alert("操作成功");
                            }
                            </script>
 </table>      
</form>    
  </body>
  
</html>
